﻿1857.1.1 = {
	capital = 957

	oob = "OTO_1857"
	#The Ottoman Empire's National Debt amounts to roughly 38.7m Pound Sterling as of 1857; income per year 790m Piasters (= 6.65m Pound Sterling) = 5.82 GDP of debt
	set_convoys = 150

	set_variable = { loans_amount = 5 }
	take_loan_effect = yes

	set_research_slots = 3

	add_to_variable = { prestige_score = 25 }
	add_war_support = 0.25
	add_stability = 0.15

	declare_war_on = {
		target = LBA
		type = annex_everything
	}

	FRA = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}

	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.07 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 7 }
	set_variable = { current_loans_sum = 44 }

	#### Vars for the Bulgarian Church Mechanic
	# Dobruja
	set_variable = { OTO_varna_separatism = 0.05}
	set_variable = { OTO_dobrich_separatism = 0.12}
	set_variable = { OTO_silistra_separatism = 0.06}
	set_variable = { OTO_tutrakan_separatism = 0.1}
	set_variable = { OTO_kyustendja_separatism = 0.13}
	set_variable = { OTO_tulcea_separatism = 0.19}
	# Moesia
	set_variable = { OTO_vidin_separatism = 0.17}
	set_variable = { OTO_vratsa_separatism = 0.42}
	set_variable = { OTO_pleven_separatism = 0.2}
	set_variable = { OTO_tarnovo_separatism = 0.63}
	set_variable = { OTO_gabrovo_separatism = 0.36}
	#Thrace
	set_variable = { OTO_plodiv_separatism = 0.47}
	set_variable = { OTO_burgas_separatism = 0.36}
	set_variable = { OTO_kazanlak_separatism = 0.4}
	set_variable = { OTO_kavala_separatism = 0.03}
	set_variable = { OTO_komotini_separatism = 0.04}
	set_variable = { OTO_drama_separatism = 0.1}
	set_variable = { OTO_odrin_separatism = 0.28}
	#Macedonia
	set_variable = { OTO_skopie_separatism = 0.17}
	set_variable = { OTO_bitolya_separatism = 0.52}
	set_variable = { OTO_gorna_djumaya_separatism = 0.36}
	set_variable = { OTO_tetovo_separatism = 0.2}
	set_variable = { OTO_serres_separatism = 0.39}
	set_variable = { OTO_kukush_separatism = 0.18}
	set_variable = { OTO_solyn_separatism = 0.30}

	#Progressbar
	set_variable = { ch_the_young_var = 30}
	set_variable = { ch_unitates_var = 70}
	set_variable = { OTO_avg_sep = 0}
	set_variable = { OTO_catholic_inf = 75}
	set_variable = { OTO_protestant_inf = 25}

	set_variable = { OTO_ch_all_separatist_cities = 25}

	add_ideas = {
		#POLITICS

		#hos_is_leader
		victorian_era
		doctrine_napoleonic_army_1
		industrializing
		#has_heir
		#absolute_monarchy

		civilian_economy
		limited_exports
		army_spending_level_3
		taxation_level_3
		cl_legal

		#stagnation_growth
		border_control
		extensive_conscription
		racial_laws
		absolutism

		#human_rights
		no_elections

		privileged_education
		state_religion
		#religion_sunni

		social_spending_level_1
		law_spending_level_4
		road_spending_level_1
		navy_spending_level_4
		research_spending_level_1

		#NATIONAL SPIRITS
		OTO_idea_sick_man_1
		OTO_idea_crimean_war_debt
		debt_idea
		OTO_idea_tanzimat_reform_start
		OTO_idea_non_existing_arms_industry_1
		OTO_idea_non_existing_artillery_industry
		ENG_british_protection
	}
	#Rivals
	set_variable = { rival_country = RUS.id }
	#Most Favoured Nation
	set_variable = { most_favoured_country = EGY.id }

	set_politics = {
		ruling_party = autocracy
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 0
		ideology_radical_socialism = 0
		social_egalitarianism = 0
		centrism = 5
		traditional_conservatism = 10
		radical_democracy = 0
		chauvinist_populism = 5
		autocracy = 80
		fundamentalism = 0
	}

	#Colective guarantee of the 7 great power
	#give_guarantee = ROM
	#give_guarantee = MOL

	set_technology = {
		infantry_weapons = 1 
		traditional_mixed_arms = 1
		 
		tribal_carrier_birds = 1 
		tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		tech_infantry_napoleonic_uniform = 1
		vic_army_cloth = 1
		tech_naval_corvette = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_sails = 1
		tech_naval_mtg_crows_nest = 1
		start_build_tech = 1
		basic_cavalry = 1
		horse_transport = 1
		horse_artillery = 1
		tech_camel_cavalry = 1
		gw_artillery = 1
		rml_field_gun = 1
		tech_infantry_practical_rifling = 1
		tech_support = 1
		steam_engine = 1
		high_speed_steam_engine = 1
		screw_propeller = 1
		tech_naval_capital_ship_naval_transportation = 1
		tech_naval_lineship = 1
		tech_naval_1857_lineship = 1
		tech_naval_mtg_hardwood_capital_ship_hulls = 1
		tech_naval_mtg_32_pounder_battery = 1
		tech_naval_mtg_paddle_wheels = 1
		tech_naval_mtg_steam_driven_single_screw_propeller = 1
		tech_naval_early_frigate = 1
		tech_naval_1850_frigate = 1
		tech_naval_mtg_1857_corvette_hull = 1
		tech_naval_corvette = 1
		tech_naval_lineship = 1
		tech_naval_1857_lineship = 1
		tech_naval_early_frigate = 1
		tech_naval_1850_frigate = 1
		tech_naval_early_gunboat = 1
		tech_naval_early_gunboat = 1
		tech_naval_corvette = 1
		mass_transit_early = 1
		tech_infantry_terrain_adaptability = 1
		socket_bayonet = 1
		yataghan_bayonet = 1
		tech_infantry_flintlock_pistol = 1
		tech_infantry_caplock_pistol = 1
		tech_infantry_special_infantry_corps = 1
		pre_industrial_farms = 1
		tech_infantry_infantry_swords = 1
	}

	set_grand_doctrine = grand_doctrine_napoleonic_era

	add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 15000 producer = OTO }
	add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 5000 producer = OTO }
	add_equipment_to_stockpile = { type = cavalry_equipment_0 amount = 5000 producer = OTO }

	# Trade
	AUS = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}
	
	PRS = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}

	# Resistance / Compliance

	#50% Resistance
	48 = { #Sofia
		start_resistance = yes
		set_compliance = 20
		set_resistance = 50
		set_garrison_strength = 1.0
	}

	211 = { #Varna
		start_resistance = yes
		set_compliance = 16
		set_resistance = 50
		set_garrison_strength = 1.0
	}
	
	1023 = { #Eastern Rumelia
		start_resistance = yes
		set_compliance = 20
		set_resistance = 50
		set_garrison_strength = 1.0
	}
	
	#30% Resistance
	106 = { #Macedonia
		start_resistance = yes
		set_compliance = 40
		set_resistance = 30
		set_garrison_strength = 1.0
	}

	810 = { #Strumica
		start_resistance = yes
		set_compliance = 40
		set_resistance = 30
		set_garrison_strength = 1.0
	}

	963 = { #Pirin Macedonia
		start_resistance = yes
		set_compliance = 40
		set_resistance = 30
		set_garrison_strength = 1.0
	}

	1204 = { #Outer Montenegro
		start_resistance = yes
		set_compliance = 40
		set_resistance = 30
		set_garrison_strength = 1.0
	}

	1205 = { #Herzegovina
		start_resistance = yes
		set_compliance = 40
		set_resistance = 30
		set_garrison_strength = 1.0
	}

	#20% Resistance
	1199 = { #Eastern Macedonia
		start_resistance = yes
		set_compliance = 50
		set_resistance = 20
		set_garrison_strength = 1.0
	}

	964 = { #Smolyan-Ortaköy
		start_resistance = yes
		set_compliance = 25
		set_resistance = 20
		set_garrison_strength = 1.0
	}

	184 = { #Western Thrace
		start_resistance = yes
		set_compliance = 50
		set_resistance = 20
		set_garrison_strength = 1.0
	}

	965 = { #Pirot-Pcinja
		start_resistance = yes
		set_compliance = 50
		set_resistance = 20
		set_garrison_strength = 1.0
	}

	1273 = { #The Western Outlands
		start_resistance = yes
		set_compliance = 50
		set_resistance = 20
		set_garrison_strength = 1.0
	}

	#16% Resistance
	77 = { #Southern Dobrudja
		start_resistance = yes
		set_compliance = 54
		set_resistance = 16
		set_garrison_strength = 1.0
	}

	748 = { #Northern Dobrudja
		start_resistance = yes
		set_compliance = 16
		set_resistance = 16
		set_garrison_strength = 1.0
	}
	
	1241 = { #Central Dobrudja
		start_resistance = yes
		set_compliance = 40
		set_resistance = 16
		set_garrison_strength = 1.0
	}

	#14% Resistance
	731 = { #Southern Macedonia
		start_resistance = yes
		set_compliance = 56
		set_resistance = 14
		set_garrison_strength = 1.0
	}

	1207 = { #Banja Luka
		start_resistance = yes
		set_compliance = 56
		set_resistance = 14
		set_garrison_strength = 1.0
	}

	1208 = { #Romania
		start_resistance = yes
		set_compliance = 56
		set_resistance = 14
		set_garrison_strength = 1.0
	}

	#10% Resistance
	185 = { #North Thessaly
		start_resistance = yes
		set_compliance = 60
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	811 = { #South Thessaly
		start_resistance = yes
		set_compliance = 60
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	1200 = { #North Epirus
		start_resistance = yes
		set_compliance = 60
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	108 = { #Morava
		start_resistance = yes
		set_compliance = 60
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	966 = { #Eastern Sandjak
		start_resistance = yes
		set_compliance = 38
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	1202 = { #Western Sandjak
		start_resistance = yes
		set_compliance = 38
		set_resistance = 10
		set_garrison_strength = 1.0
	}

	#8% Resistance
	44 = { #Albania
		start_resistance = yes
		set_compliance = 43
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	104 = { #West Bosnia
		start_resistance = yes
		set_compliance = 16
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	105 = { #Tetovo
		start_resistance = yes
		set_compliance = 45
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	225 = { #Podgorica
		start_resistance = yes
		set_compliance = 62
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	1201 = { #Kosovo
		start_resistance = yes
		set_compliance = 45
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	1272 = { #Sarajevo
		start_resistance = yes
		set_compliance = 40
		set_resistance = 8
		set_garrison_strength = 1.0
	}

	#5% Resistance
	341 = { #Adrianople/Edirne
		start_resistance = yes
		set_compliance = 65
		set_resistance = 5
		set_garrison_strength = 1.0
	}

	1274 = { #Chalkidiki
		start_resistance = yes
		set_compliance = 65
		set_resistance = 5
		set_garrison_strength = 1.0
	}

	#4% Resistance
	212 = { #Tsarevo
		start_resistance = yes
		set_compliance = 66
		set_resistance = 4
		set_garrison_strength = 1.0
	}
	
	# POLITICAL LEADERS
	recruit_character = OTO_abdulmecid_I
	recruit_character = OTO_Abdulaziz
	recruit_character = OTO_Murad_V
	recruit_character = OTO_character_iskender_pasha
	recruit_character = OTO_character_omar_pasha
	recruit_character = OTO_character_osman_pasha
	recruit_character = OTO_character_damad_mehmed_pasha
	recruit_character = OTO_character_muhaver_pasha
	recruit_character = OTO_character_ahmed_vesim_pasha 
	recruit_character = OTO_character_kibrisli_mehmed_emin
	recruit_character = OTO_character_bozcaadali_hasan_pasha
	recruit_character = OTO_character_woods_pasha
	recruit_character = OTO_character_huseyin_husni_pasha

	# ADVISORS
	recruit_character = OTO_character_ottoman_debt_council
	recruit_character = OTO_character_charles_augustus_hartley
	recruit_character = OTO_character_cyrus_hamlin
	recruit_character = OTO_character_ernst_weiss
	recruit_character = OTO_character_eugene_henri_gavand
	recruit_character = OTO_character_mehmet_sadyk_pasha
	recruit_character = OTO_character_midhad_pasha
	recruit_character = OTO_character_neofit_rilski
	recruit_character = OTO_arif_bey
	recruit_character = OTO_sari_galib_pasha
	recruit_character = OTO_namik_kemal
	recruit_character = OTO_mehmed_rashid_pasha
	recruit_character = OTO_mehmed_emin_ali_pasha
	recruit_character = OTO_fuad_pasha
	recruit_character = OTO_mehmed_rushdi_pasha
	recruit_character = OTO_ibrahim_sinasi
	#Generals
	recruit_character = OTO_character_abdulkerim_nadir_pasha
	recruit_character = OTO_dervis_ibrahim_pasha
	recruit_character = OTO_hussein_daim_pasha
	recruit_character = OTO_djafer_pasha
	recruit_character = OTO_mehmet_vasif_pasha_gurcu
	recruit_character = OTO_gazi_muhammed_pasha
	recruit_character = OTO_eneste_haseki_mehmed_selim_pasha
	##Military Staff
	recruit_character = OTO_huseyin_avni_pasha
	recruit_character = OTO_rasim_bey
	recruit_character = OTO_lofcali_ibrahim_dervis_pasa
	recruit_character = OTO_omer_lufti_pasa
	# create_corps_commander = {
	# 	name = "Omar Pasha"
	# 	picture = "GFX_Portrait_OTO_Omar_Pasha"
	# 	id = 1877
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }

	# create_corps_commander = {
	# 	name = "Osman Pasha"
	# 	picture = "GFX_Portrait_OTO_Osman_Pasha"
	# 	id = 1878
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }


	# create_corps_commander = {
	# 	name = "Selim Begu Mustafa"
	# 	#picture = ""
	# 	id = 1879
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }

	# create_corps_commander = {
	# 	name = "Mustafa Pasha"
	# 	#picture = ""
	# 	id = 1880
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }


	# create_corps_commander = {
	# 	name = "İskender Pasha"
	# 	picture = "GFX_Portrait_OTO_Iskender_Pasha"
	# 	id = 1881
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }


	# create_corps_commander = {
	# 	name = "Abdülkerim Nadir Pasha"
	# 	picture = "GFX_Portrait_OTO_Cirpanli_Nadir_Pasha"
	# 	id = 1882
	# 	traits = { }
	# 	skill = 1
	# 	attack_skill = 1
	# 	defense_skill = 1
	# 	planning_skill = 1
	# 	logistics_skill = 1
	# }

	add_corps_commander_role = {
		Character = EGY_Ismail_Pasha
		skill = 1
		attack_skill = 1
		defense_skill = 1
		planning_skill = 1
		logistics_skill = 1
	}
	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_0
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Eser-i Cedid Class"
		type = ship_hull_corvette_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_screen
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Sinop Class"
		type = ship_hull_corvette_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_screen
			fixed_ship_armor_slot = ship_armor_screen_hardwood_0
			mid_1_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = ship_cannon_battery_1
		}
		
	}
	create_equipment_variant = {
		name = "Mecidiye Class"
		type = ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_cruiser
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Ertugrul Class"
		type = ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Kervan-i Bahri Class"
		type = ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			front_1_custom_slot = empty
		}
		
	}
	#create_equipment_variant = {
	#	name = "Mahmudiye Class"
	#	type = ship_hull_lineship_0
	#	name_group = GER_CA_HISTORICAL
	#	parent_version = 0
	#	modules = {
	#		fixed_ship_battery_slot = ship_cannon_battery_0
	#		fixed_ship_fire_control_system_slot = fire_control_system_0
	#		fixed_ship_engine_slot = ship_engine_sail_2
	#		fixed_ship_armor_slot = empty
	#		rear_1_custom_slot = ship_cannon_battery_0
	#		mid_1_custom_slot = ship_cannon_battery_0
	#		mid_2_custom_slot = ship_cannon_battery_0
	#		mid_3_custom_slot = ship_cannon_battery_0
	#		front_1_custom_slot = ship_cannon_battery_0
	#		front_2_custom_slot = ship_cannon_battery_0
	#	}
	#	obsolete = yes
	#}
	create_equipment_variant = {
		name = "Peyk-i Zafer Class"
		type = ship_hull_lineship_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_0
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = ship_cannon_battery_0
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Kosova Class"
		type = ship_hull_lineship_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = empty
			front_2_custom_slot = ship_cannon_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Fethiye Class"
		type = ship_hull_lineship_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = ship_cannon_battery_0
		}
	}
	set_naval_oob = "OTO_1857_naval_mtg"
}

1870.5.19 = {
	capital = 957

	oob = "OTO_1857"
	#The Ottoman Empire's National Debt amounts to roughly 38.7m Pound Sterling as of 1857; income per year 790m Piasters (= 6.65m Pound Sterling) = 5.82 GDP of debt
	set_convoys = 150

	set_research_slots = 3

	add_to_variable = { prestige_score = 25 }

	set_truce = { target = RUS days = 1820 }

	ENG={
		diplomatic_relation = {
			country = OTO
			relation = guarantee
			active = yes
		}
	}
	diplomatic_relation = {
		country = JSH
		relation = guarantee
		active = yes
	}

	FRA = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}


	add_ideas = {
		#POLITICS

		#hos_is_leader
		victorian_era
		law_pre_industrial_army
		industrializing
		#no_heir
		#absolute_monarchy

		civilian_economy
		limited_exports
		army_spending_level_2
		taxation_level_1
		cl_legal

		#stagnation_growth
		border_control
		extensive_conscription
		limited_equality
		absolutism

		#human_rights
		no_elections

		privileged_education
		state_religion
		#religion_sunni

		social_spending_level_1
		law_spending_level_4
		road_spending_level_1
		navy_spending_level_1
		research_spending_level_1

		#NATIONAL SPIRITS
		OTO_idea_sick_man_1
		OTO_idea_crimean_war_debt
		OTO_idea_tanzimat_reform_start
	}
	#Rivals
	set_variable = { rival_country = RUS.id }
	#Most Favoured Nation
	set_variable = { most_favoured_country = EGY.id }

	set_politics = {
		ruling_party = autocracy
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 0
		ideology_radical_socialism = 0
		social_egalitarianism = 0
		centrism = 5
		traditional_conservatism = 10
		radical_democracy = 0
		chauvinist_populism = 5
		autocracy = 80
		fundamentalism = 0
	}

	#Colective guarantee of the 7 great power
	#give_guarantee = ROM
	#give_guarantee = MOL

	set_technology = {
		infantry_weapons = 1 
		traditional_mixed_arms = 1
		 
		tribal_carrier_birds = 1 
		tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		tech_infantry_napoleonic_uniform = 1
		vic_army_cloth = 1
		tech_naval_corvette = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_sails = 1
		tech_naval_mtg_crows_nest = 1
		start_build_tech = 1
		basic_cavalry = 1
		horse_transport = 1
		horse_artillery = 1
		tech_camel_cavalry = 1
		gw_artillery = 1
		rml_field_gun = 1
		tech_infantry_practical_rifling = 1
		tech_support = 1
		steam_engine = 1
		high_speed_steam_engine = 1
		screw_propeller = 1
		tech_naval_capital_ship_naval_transportation = 1
		tech_naval_lineship = 1
		tech_naval_1857_lineship = 1
		tech_naval_mtg_hardwood_capital_ship_hulls = 1
		tech_naval_mtg_32_pounder_battery = 1
		tech_naval_mtg_paddle_wheels = 1
		tech_naval_mtg_steam_driven_single_screw_propeller = 1
		tech_naval_early_frigate = 1
		tech_naval_1850_frigate = 1
		tech_naval_mtg_1857_corvette_hull = 1
		mass_transit_early = 1
		iron_railways = 1
	}
	add_equipment_to_stockpile = { type = infantry_equipment_rifle_0 amount = 1000 producer = OTO }
	add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 1000 producer = OTO }

	# Trade
	AUS = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}
	
	PRS = {
		create_import = {
			resource = cotton
			amount = 8
			exporter = OTO
		}
	}
	
	# POLITICAL LEADERS
	retire_character = OTO_abdulmecid_I
	OTO_Abdulaziz = {
		add_corps_commander_role = {
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
		}
		add_country_leader_role = {
			Promote_leader = yes
			Country_leader = {
				ideology = constit_monarch
				#desc = "POLITICS_ABDULAZIZ_DESC"
				expire = "1876.5.30"
				traits = {}						
			}
		}
		promote_character = {
			Ideology = absolutism
		}
		promote_character = yes
	}
	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_0
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = empty
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Eser-i Cedid Class"
		type = ship_hull_corvette_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_screen
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Sinop Class"
		type = ship_hull_corvette_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_screen
			fixed_ship_armor_slot = ship_armor_screen_hardwood_0
			mid_1_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = ship_cannon_battery_1
		}
		
	}
	create_equipment_variant = {
		name = "Mecidiye Class"
		type = var:ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_paddle_cruiser
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = ship_cannon_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Ertugrul Class"
		type = var:ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = ship_cannon_battery_1
			mid_3_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = ship_cannon_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Kervan-i Bahri Class"
		type = var:ship_hull_frigate_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
			fixed_ship_armor_slot = ship_armor_capital_hardwood_0
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = ship_cannon_battery_1
			front_1_custom_slot = ship_cannon_battery_1
		}
		
	}
	create_equipment_variant = {
		name = "Peyk-i Zafer Class"
		type = ship_hull_lineship_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_0
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = ship_cannon_battery_0
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Kosova Class"
		type = ship_hull_lineship_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = empty
			front_2_custom_slot = ship_cannon_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Fethiye Class"
		type = ship_hull_lineship_1
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_1
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_steam_screw_capital
			fixed_ship_armor_slot = empty
			rear_1_custom_slot = ship_cannon_battery_1
			mid_1_custom_slot = ship_cannon_battery_1
			mid_2_custom_slot = empty
			mid_3_custom_slot = empty
			front_1_custom_slot = ship_cannon_battery_0
			front_2_custom_slot = ship_cannon_battery_0
		}
	}
	set_naval_oob = "OTO_1857_naval_mtg"
}